import request from '@/utils/request'

// 分页列表
export function listTags(query) {
  return request({
    url: '/official/tags/list',
    method: 'get',
    params: query
  })
}

// 保存
export function saveTag(data) {
  return request({
    url: '/official/tags/save',
    method: 'POST',
    data: data
  })
}

// 删除
export function delTags(ids) {
  return request({
    url: '/official/tags/delete/' + ids,
    method: 'delete'
  })
}
